﻿function Redondear() {
    var nValor = parseFloat(document.getElementById("TextBox1").value);
    document.getElementById("TextBox2").value = nValor.toFixed(2);
    document.getElementById("TextBox2").value = Math.Round(nValor,2);
}